package com.chance.cc.crawler.prod.command.node.sina;

import com.chance.cc.crawler.development.command.node.CrawlerNodeCommand;
import com.chance.cc.crawler.prod.command.job.domain.news.sina.module.SinaSportRealtimeCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.sina.module.SinaSportTraceCrawlerSchedulerJob;

/**
 * @author bx
 * @date 2020/12/8 0008 13:37
 */
public class SinaCrawlerNodeOperator {

    public static void main(String[] args) {
        CrawlerNodeCommand crawlerNodeCommand = new CrawlerNodeCommand("192.168.1.217",9505);

        crawlerNodeCommand.nodeStatus();

        crawlerNodeCommand.killCrawler(SinaSportRealtimeCrawlerSchedulerJob.crawlerSchedulejob());
        crawlerNodeCommand.killCrawler(SinaSportTraceCrawlerSchedulerJob.crawlerSchedulejob());


        crawlerNodeCommand.nodeStatus();

    }
}
